import { Tabs, TabsProps } from "antd";

import ClientRebate from "./ClientRebate";
import AgentRebate from "./AgentRebate";

const RateConfig = () => {
  const items: TabsProps["items"] = [
    {
      key: "customerFee",
      label: "客户费率返点配置",
      children: <ClientRebate />,
    },
    {
      key: "agentFee",
      label: "代理返点配置",
      children: <AgentRebate />,
    },
  ];
  return (
    <div>
      <Tabs items={items} />
    </div>
  );
};

export default RateConfig;
